package com.app.yc.ifapp.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：TanTun
 * 时间：2017/3/17
 * 邮箱：32965926@qq.com
 * 描述：红外数据实体类
 */

public class IrData implements Parcelable {
    String ir_Data_Id;
    String ir_Data_Name;
    int ir_Data_No;

    public String getIr_Data_Id() {
        return ir_Data_Id;
    }

    public void setIr_Data_Id(String ir_Data_Id) {
        this.ir_Data_Id = ir_Data_Id;
    }

    public String getIr_Data_Name() {
        return ir_Data_Name;
    }

    public void setIr_Data_Name(String ir_Data_Name) {
        this.ir_Data_Name = ir_Data_Name;
    }

    public int getIr_Data_No() {
        return ir_Data_No;
    }

    public void setIr_Data_No(int ir_Data_No) {
        this.ir_Data_No = ir_Data_No;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.ir_Data_Id);
        dest.writeString(this.ir_Data_Name);
        dest.writeInt(this.ir_Data_No);
    }

    public IrData() {
    }

    protected IrData(Parcel in) {
        this.ir_Data_Id = in.readString();
        this.ir_Data_Name = in.readString();
        this.ir_Data_No = in.readInt();
    }

    public static final Parcelable.Creator<IrData> CREATOR = new Parcelable.Creator<IrData>() {
        @Override
        public IrData createFromParcel(Parcel source) {
            return new IrData(source);
        }

        @Override
        public IrData[] newArray(int size) {
            return new IrData[size];
        }
    };
}
